﻿@model FilStartUps_Mobile.FILAPI.Category_Post
@{
    if(User.Identity.IsAuthenticated){
        Layout = "~/Views/Shared/_Layout.cshtml";
    }else{
        Layout = "~/Views/Shared/_LayoutNonMember.cshtml";
    }
    ViewBag.Title = "Articles";
}
@section ReturnHome{
        <a href="../Home" data-icon="home" data-iconpos="notext" data-direction="reverse" class="ui-btn-right jqm-home">Home</a>
}
<div data-role="navbar" data-grid="d">
        @{
            try
            {
                foreach (var item in Model.category)
                {
            <li><a href="../Home/Articles?c=@item.catidPK">@item.categoryname</a></li>
                }
            }
            catch
            {

            }
        }
</div>
<h2>@Model.catpost.posttitle</h2>
<div class="content-textbox">
    @Model.catpost.postdescription
</div>
